package com.hp.ssmp.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.math.BigDecimal;
import java.util.Date;

@TableName("t_order_details")
public class TOrderDetails {

  @TableId(value = "DETAILSID",type = IdType.AUTO)
  private Long detailsid;
  private Long goodsid;
  private Long orderid;
  private String goodsname;
  private BigDecimal goodsprice;
  private Long goodsnum;


  public Long getDetailsid() {
    return detailsid;
  }

  public void setDetailsid(Long detailsid) {
    this.detailsid = detailsid;
  }


  public Long getGoodsid() {
    return goodsid;
  }

  public void setGoodsid(Long goodsid) {
    this.goodsid = goodsid;
  }


  public Long getOrderid() {
    return orderid;
  }

  public void setOrderid(Long orderid) {
    this.orderid = orderid;
  }


  public String getGoodsname() {
    return goodsname;
  }

  public void setGoodsname(String goodsname) {
    this.goodsname = goodsname;
  }


  public BigDecimal getGoodsprice() {
    return goodsprice;
  }

  public void setGoodsprice(BigDecimal goodsprice) {
    this.goodsprice = goodsprice;
  }


  public Long getGoodsnum() {
    return goodsnum;
  }

  public void setGoodsnum(Long goodsnum) {
    this.goodsnum = goodsnum;
  }

  @Override
  public String toString() {
    return "TOrderDetails{" +
            "detailsid=" + detailsid +
            ", goodsid=" + goodsid +
            ", orderid=" + orderid +
            ", goodsname='" + goodsname + '\'' +
            ", goodsprice=" + goodsprice +
            ", goodsnum=" + goodsnum +
            '}';
  }
}
